<div>

    <div class="ibox ">
        <div class="ibox-title">
            <h5><span>
                    <vc:i18n name="查询条件"></vc:i18n>
                </span>
            </h5>
            <div class="ibox-tools" style="top:10px;">
            </div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请选择退单ID','productGroupOrderReturn')"
                            v-model="productGroupOrderReturnInfo.conditions.returnId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请选择订单ID','productGroupOrderReturn')"
                            v-model="productGroupOrderReturnInfo.conditions.orderId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <select class="custom-select" v-model="productGroupOrderReturnInfo.conditions.returnType">
                            <option selected value="">
                                {{vc.i18n('请选择退款类型','productGroupOrderManage')}}
                            </option>
                            <option value="1001">
                                {{vc.i18n('自主退款','productGroupOrderManage')}}
                            </option>
                            <option value="2002">
                                {{vc.i18n('拼团失败退款','productGroupOrderManage')}}
                            </option>
                        </select>
                    </div>
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary btn-sm"
                        v-on:click="_queryProductGroupOrderReturnMethod()">
                        <i class="glyphicon glyphicon-search"></i> <span>
                            <vc:i18n name="查询"></vc:i18n>
                        </span>
                    </button>
                </div>
            </div>
        </div>

    </div>

    <div class="ibox">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="取消拼团" namespace="productGroupOrderReturn"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">
            </div>
        </div>
        <div class="ibox-content">
            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">
                            <vc:i18n name='退单编号' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='订单' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='商品' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='购买人' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='购买数量' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='拼团价格' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='退款金额' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='退款类型' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='退款原因' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='状态' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='审核说明' namespace='productGroupOrderReturn'></vc:i18n>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="order in productGroupOrderReturnInfo.orders">
                        <td class="text-center">{{order.returnId}}</td>
                        <td class="text-center">{{order.orderId}}</td>
                        <td class="text-center">{{order.prodName}}</td>
                        <td class="text-center">{{order.buyerName}}</td>
                        <td class="text-center">{{order.buyerCount}}</td>
                        <td class="text-center">{{order.groupPrice}}</td>
                        <td class="text-center">{{order.returnMoney}}</td>
                        <td class="text-center">{{order.returnType == '1001'?'自主退款':'拼团失败退款'}}</td>
                        <td class="text-center">{{order.reason}}</td>
                        <td class="text-center">{{order.state}}</td>
                        <td class="text-center">{{order.stateMsg}}</td>


                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
        </div>
    </div>
</div>